package org.tongdao.yulong.annotation;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.tongdao.yulong.basic_di.Person;

/**
 * @Description: TODO
 * @author: 殷玉龙
 * @date: 2020年09月28日 9:32 上午
 */
@Configuration
@ComponentScan("org.tongdao.yulong.annotation.bean")
public class QuicksStartConfiguration {

  //如果componentScan不指定扫描路径，则默认扫描本类所在的路径
//  @Bean(name = "aaa")
//  public Person person(){
//    Person person = new Person();
//    person.setAge(18);
//    person.setName("along");
//    return person;
//  }
}
